package com.pearadmin.pro.modules.experiment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.modules.experiment.entity.ExperimentInfo;
import com.pearadmin.pro.modules.experiment.entity.ExperimentMajor;
import com.pearadmin.pro.modules.sys.domain.SysDept;

import java.util.List;

public interface ExperimentMajorService extends IService<ExperimentMajor> {


    /**
     * 获取一级筛选列表
     * @author ZhouXingYun
     * @date 2022/6/15 10:13
     * @return java.util.List<com.pearadmin.pro.modules.experiment.entity.ExperimentMajor>
     */
    List<ExperimentMajor> filtrate();

    /**
     * 根据一级获取二级标签
     * @author ZhouXingYun
     * @date 2022/6/15 16:45
     * @param id
     * @return java.util.List<com.pearadmin.pro.modules.experiment.entity.ExperimentMajor>
     */
    List<ExperimentMajor> getClssify(Integer id);

    List<ExperimentMajor> tree();
}
